package com.zuoye;

import java.util.Scanner;

public class Zuoye23 {
	public static void main(String[] args) {
		Scanner input=new Scanner(System.in);
		System.out.println("请输入会员积分：");
		double jifen=input.nextDouble();
		if(jifen>=8000) {
			System.out.println("该会员享受的折扣是："+0.6);
		}else if(jifen>=4000) {
			System.out.println("请输入会员积分："+0.7);
		}else if(jifen>=2000) {
			System.out.println("请输入会员积分："+0.8);
		}else {
			System.out.println("请输入会员积分："+0.9);
		}
	}

}
